INCLUDES="-I/usr/include/python2.5/"

all: wrapper

ai_core: ai_move.o ai_fields.o

ai_module: ai.pyx
	pyrexc ai.pyx

wrapper:  ai_module ai_core
	gcc $(INCLUDES) ai.c ai_move.o ai_fields.o --shared -o ../ai.so
	
